package com.xinghanlaser.applet.base.auth.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Set;

/**
 * <p>
 *
 * <p>
 *
 * @author: mftuo 陀铭峰
 * @since: 2024/4/29 19:35
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserPostVO {
    @NotBlank(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "用户角色列表")
    private Set<Long> roleIds;
}
